/* Custom CSS */
/* Include your CSS here in order to simplify theme updates */

a {
    transition: none;
}

.has-slider #content-top {
    position: static;
}
.has-slider #featured-wrap {
    background: #fff;
}
.has-slider.logged-in #featured-wrap {
    margin-top: 32px;
}

#header {
    position: fixed;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #d4d4d4;
    z-index: 2;
}
.has-slider #header {
    position: fixed;
    padding: 25px 0 15px;
    background: #fff;
    box-shadow: 0px -10px 25px 10px #666;
    -moz-box-shadow: 0px -10px 25px 10px #666;
    -webkit-box-shadow: 0px -10px 25px 10px #666;
}
body.has-slider-menu #header {
    background: #fff;
}

#header #top {
    padding: 25px 0 15px;
}
#header #top .header-message {
    float: right;
    text-shadow: none;
    line-height: 1;
}

.home-flexslider-wrapper {
    position: static;
    margin-top: 97px;
}

#navigation {
    clear: right;
    padding: 16px 0 0;
}
#navigation .nav li {
    margin-right: 5px;
}
#navigation .nav li a {
    padding: 6px 12px 4px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
#navigation .nav li:hover a,
#navigation .nav li.current-menu-item a,
.has-slider #navigation .nav li.current_page_item a,
#navigation .nav li.current-menu-ancestor a,
#top #navigation .nav li ul li a {
    background: #1e4285;
    color: #fff;
}
#navigation .nav li.sfHover,
#navigation .nav li ul {
    background: #1e4285;
}

#wrapper {
    z-index: 0;
}
.has-slider #wrapper {
    box-shadow: 0 5px 25px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 25px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 25px 10px rgba(0, 0, 0, 0.2);
    z-index: 0;
}
#wrapper .page-head h1 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
}

#wrapper .page-head {
    background: #eff2f5;
}
#wrapper .page-head .breadcrumbs,
#wrapper .page-head .breadcrumbs a {
    color: #1e4285;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
#wrapper .page-head .breadcrumbs a {
    display: inline;
    color: #7d828a;
    margin: 0;
    padding-bottom: 0;
    border: 0 none;
}

#content-inverted {
    float: right;
    width: 73.8%;
    overflow: hidden;
}
#sidebar-inverted {
    float: left;
    width: 23.25%;
    overflow: hidden;
}

#footer {
    background: #ebebeb;
}
#footer .footer-grid {
    margin-left: -3%;
    overflow: hidden;
}
#footer-widgets {
    padding: 50px 0 10px;
}
#footer-widgets h3 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
#extended-footer,
#extended-footer p,
#extended-footer a,
#footer-widgets .textwidget {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    text-shadow: 0 0 #7d828a;
}
#footer .attention-time {
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer .attention-time .item {
    overflow: hidden;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
#footer .attention-time .item .day {
    float: left;
    padding: 0;
    border: 0 none;
}
#footer .attention-time .item .hour {
    float: right;
}

#footer .last-promotions {
    
}
#footer .last-promotions .single-post {
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}
#footer .last-promotions .single-post .image {
    float: left;
    width: 72px;
    height: 50px;
    margin-right: 10px;
}
#footer .last-promotions .single-post .content {
    float: left;
    width: 120px;
}
#footer .last-promotions .single-post .content .title a,
#footer .last-promotions .single-post .content .info,
#footer .last-promotions .view-more a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
}
#footer .last-promotions .single-post .content .title a {
    font-size: 13px;
    line-height: 1;
}
#footer .last-promotions .single-post .content .info {
    font-size: 12px;
    font-style: italic;
}
#footer .last-promotions .view-more {
    margin-top: 15px;
    text-align: right;
}
#footer .last-promotions .view-more a {
    font-size: 13px;
    font-style: italic;
}

#footer .facebook .icon {
    float: left;
    margin-right: 10px;
}
#footer .facebook .label {
    float: left;
    width: 80px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

#sidebar {
    /*padding: 30px 30px 0px;
    background: #c0d0e6;*/
}
#sidebar .widget {
    margin: 0;
}
#sidebar .widget h3 {
    margin: 0 0 16px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
#sidebar .widget .textwidget {
    text-align: center;
}
#sidebar .widget .textwidget form {
    margin: 0;
}
#sidebar .widget .textwidget p {
    margin: 0 0 3px;
}
#sidebar .widget .textwidget p span,
#sidebar .widget .textwidget p input,
#sidebar .widget .textwidget p textarea {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
#sidebar .widget .textwidget p input.wpcf7-submit {
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    background: #1e4285;
    font-size: 16px;
    font-weight: normal;
}

/*
*   ACCORDION
*/
ul.accordion {
    list-style: none;
    margin: 0;
}
ul.accordion > p {
    display: none;
}
ul.accordion,
ul.accordion li a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    /*font-weight: 600;*/
}
ul.accordion li a {
    text-decoration: none;
    border: 0 none;
}
ul.accordion li a.opener {
    display: block;
    padding: 8px 9px;
    background: #FFF;
    border: 0 none;
}

.accordion li a span.title {
    background: url(images/acordeon-icon-inactive.png) 2px 3px no-repeat;
    display: block;
    padding: 2px 0 2px 32px;
    height: 1%;
    cursor: pointer;
    /*text-shadow: 1px 1px 1px #FFF;*/
}

.accordion li a.ui-state-active span.title {
    background: url(images/acordeon-icon-active.png) 2px 3px no-repeat;
}
.accordion .slide-holder {
    width: 100%;
    overflow: hidden;
}
.accordion .slide {
    padding: 20px 27px 0 27px;
    line-height: 20px;
}

/*
*   HOME PAGE
*/
.slide-info {
    padding-top: 150px;
}
.flex-caption h2 {
    padding: 0 15px 2px 0;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.flex-caption p {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    margin: 0 0 20px;
}
.flex-caption a.read-more {
    background: #1e4285;
    padding: 12px 40px;
}
.flex-caption a.read-more:hover {
    background: #133472;
}

.welcome-message h2 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
.welcome-message p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

.home-block h3 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}

.home-block .home-services-button {
    text-align: center;
    z-index: 9;
}
.home-block .home-services-button a,
.home-block .meet-doctor-button a {
    display: inline-block;
    background: #1e4285;
    padding: 15px 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
}
.home-block .home-services-button a:hover,
.home-block .meet-doctor-button a:hover {
    background: #133472;
}

.home-service-category {
    background: #eff2f5;
    padding: 40px 0 50px;
}
.home-service-category ul {
    padding: 5px 0 45px;
}
.home-service-category ul li {
    margin-bottom: 20px;
}
.home-service-category ul li .service-category-image {
    width: 217px;
    height: 177px;
    margin-bottom: 15px;
}
.home-service-category ul li .service-category-image img {
    width: 100%;
    height: 100%;
}
.home-service-category ul li .service-category-content .service-category-title {
    margin-bottom: 12px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
.home-service-category ul li .service-category-content .service-category-short-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.home-service-category ul li .service-category-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.home-staff {
    background: #fff;
    padding: 50px 0 0;
    
}
.home-staff ul {
    margin: 0 0 20px;
}
.home-staff li .content .staff-title a {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-shadow: none;
    text-transform: uppercase;
}
.home-staff li .staff-deparment {
    color: #7d828a;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
}
.home-staff li .staff-excerpt {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.home-staff .meet-doctor-button {
    /*width: 960px;*/
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
}

.staff-widget {
    margin: 0 auto;
    max-width: 960px;   
}
.home-staff-widget {
    padding-bottom: 45px;
    overflow: hidden;
}
.home-staff-widget .image {
    float: left;
    width: 48%;
    height: auto;
    margin-right: 25px;
} 
.home-staff-widget .image img {
    width: 100%;
    height: auto;
}
.home-staff-widget .content {
    float: left;
    width: 48%;
    padding-top: 20px;
}
.home-staff-widget .content h4 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}
.home-staff-widget .content .quote {
    overflow: hidden;
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
}
.home-staff-widget .content .quote .symbol {
    float: left;
    width: 8%;
    font-size: 68px;
    font-style: italic;
    line-height: 56px;
}
.home-staff-widget .content .quote .text {
    float: right;
    width: 90%;
    font-size: 13px;
}
.home-staff-widget .content .quote .text .author {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    text-align: right;
}

body.page-template-template-home-php #container {
    padding-top: 30px;
}
#container .home-testimonial {
    padding-top: 0px;
}
#container .home-testimonial .content .feedback-text,
.testimonial .feedback-author .feedback-author {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
#container .home-testimonial .readmore-feedback {
    background: #fff;
    padding: 0;
    margin-top: 25px;
}
#container .home-testimonial .readmore-feedback a {
    display: inline-block;
    padding: 10px 20px;
    background: #c0d0e6;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-shadow: none;
}

body.home #sidebar .widget {
    margin-top: 10px;
    padding: 30px 30px 5px;
    background: #c0d0e6;
}
body.home #sidebar .widget h3 {
    margin: 0 0 16px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
body.home #sidebar .widget .textwidget {
    text-align: center;
}
body.home #sidebar .widget .textwidget form {
    margin: 0;
}
body.home #sidebar .widget .textwidget p {
    margin: 0 0 3px;
}
body.home #sidebar .widget .textwidget p span,
body.home #sidebar .widget .textwidget p input,
body.home #sidebar .widget .textwidget p textarea {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
body.home #sidebar .widget .textwidget p input.wpcf7-submit {
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    background: #1e4285;
    font-size: 16px;
    font-weight: normal;
}
body.home #sidebar .widget .textwidget p input.wpcf7-submit:hover {
    background: #133472;
}

/*
*   SERVICES PAGE
*/

.service-filter-title {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}
#filter li {
    margin-left: 10px;
    z-index: 0;
}
#filter li a:hover, 
#filter li.active a {
    background: #1e4285;
}
#filter a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

section.service .filter-area {
    margin-bottom: 65px;
}
section.service .filter-area #filter {
    overflow: hidden;
}
section.service .service-description {
    clear: both;
}
section.service .service-description .description {
    margin-bottom: 65px;
    padding: 25px;
    background: #eff2f5;
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
section.service .service-description .description ul {
    list-style: none;
    margin: 0 0 20px;
    padding-left: 10px;
}
section.service .service-description .description ul li {
    background: transparent url(images/service_arrow.png) no-repeat scroll 5px 5px;
    padding-left: 25px;
    line-height: 22px;
}
section.service ul.service-grid-two-col {
    margin: 0;
    padding: 0 0 25px;
}

.service-grid-two-col .entry-title a {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}
.service-grid-two-col .excerpt-content,
.service-grid-two-col .readmore {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.service-grid-two-col .excerpt-content {
    color: #7d828a;
}
.service-grid-two-col .readmore {
    color: #1e4285;
    background: none;
}

/*
*   SERVICES CATEGORY
*/
.tax-service-category .one-col-grid.service-grid .entry-title a {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}

/*
*   SERVICES SINGLE PAGE
*/

body.single-service .featured-image {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 0 30px;
}
body.single-service .featured-image img {
    max-width: 100%;
}

body.single-service .post-content {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 19px;
}
body.single-service .post-content ul {
    list-style: none;
    margin: 0 0 20px;
}
body.single-service .post-content ul li {
    background: transparent url(images/check.png) no-repeat scroll 0 8px;
    padding-left: 18px;
    line-height: 26px;
}

body.single-service .post-content ul.accordion {
    list-style: none;
    margin: 0;
}
body.single-service .post-content ul.accordion > p {
    display: none;
}
body.single-service .post-content ul.accordion li {
    background: none;
    padding: 0;
    line-height: 1;
}
body.single-service .post-content ul.accordion,
body.single-service .post-content ul.accordion li a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
body.single-service .post-content ul.accordion li a {
    text-decoration: none;
    border: 0 none;
}
body.single-service .post-content ul.accordion li a.opener {
    display: block;
    padding: 8px 9px;
    background: #FFF;
    border: 0 none;
}

body.single-service .post-content ul.accordion li a span.title {
    background: url(images/acordeon-icon-inactive.png) 2px 1px no-repeat;
    display: block;
    padding: 4px 0 4px 32px;
    height: 1%;
    cursor: pointer;
}

body.single-service .post-content ul.accordion li a.ui-state-active span.title {
    background: url(images/acordeon-icon-active.png) 2px 1px no-repeat;
}
body.single-service .post-content ul.accordion .slide-holder {
    width: 100%;
    overflow: hidden;
}
body.single-service .post-content ul.accordion .slide {
    padding: 20px 27px 0 27px;
}

body.single-service #sidebar .widget {
    padding: 30px 30px 5px;
    background: #c0d0e6;
}
body.single-service #sidebar .widget h3 {
    margin: 0 0 16px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
body.single-service #sidebar .widget .textwidget {
    text-align: center;
}
body.single-service #sidebar .widget .textwidget form {
    margin: 0;
}
body.single-service #sidebar .widget .textwidget p {
    margin: 0 0 3px;
}
body.single-service #sidebar .widget .textwidget p span,
body.single-service #sidebar .widget .textwidget p input,
body.single-service #sidebar .widget .textwidget p textarea {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
body.single-service #sidebar .widget .textwidget p input.wpcf7-submit {
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    background: #1e4285;
    font-size: 16px;
    font-weight: normal;
}

/*
*   STAFF
*/
.page-template-template-staff-php #content {
    width: 75%;
}
.page-template-template-staff-php #content .entry {
    margin-bottom: 60px;
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.page-template-template-staff-php ul#staff-list {
    margin: 0;
}
.page-template-template-staff-php ul#staff-list li {
    margin-bottom: 60px;
    overflow: hidden;
}
.page-template-template-staff-php ul#staff-list li .post-image,
.page-template-template-staff-php ul#staff-list li .post-content {
    float: left;
}
.page-template-template-staff-php ul#staff-list li .post-image {
    width: 37.5%;
    height: auto;
    margin-right: 72px;
}
.page-template-template-staff-php ul#staff-list li .post-image a {
    display: block;
}
.page-template-template-staff-php ul#staff-list li .post-image a img {
    width: 100%;
}
.page-template-template-staff-php ul#staff-list li .post-content {
    width: 50%;
}
.page-template-template-staff-php ul#staff-list li .post-content a {
    border: 0 none;
}
.page-template-template-staff-php ul#staff-list li .post-content .entry-title {
    margin-bottom: 5px;
}
.page-template-template-staff-php ul#staff-list li .post-content .entry-title a {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}
.page-template-template-staff-php ul#staff-list li .post-content .staff-deparment {
    margin-bottom: 10px;
}
.page-template-template-staff-php ul#staff-list li .post-content .staff-deparment a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}
.page-template-template-staff-php ul#staff-list li .post-content .staff-excerpt {
    margin-bottom: 20px;
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 24px;
}
.page-template-template-staff-php ul#staff-list li .post-content .readmore {
    padding: 0;
    background: none;
    color: #1e4285;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

/*
*   STAFF - SINGLE
*/
body.single-staff .staff-info header h1 {
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}
body.single-staff .staff-departament a {
    
}
body.single-staff .staff-intro-text,
body.single-staff .excerpt-content p {
    color: #494949;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 26px;
}
body.single-staff .post-content {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

/*
*   PAGINA INTERIOR
*/

#content.full-width .entry,
.page-template-default #content .entry {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

#content.full-width .entry h4,
.page-template-default #content .entry h4 {
    color: #1e4285;
    font-weight: bold;
}

/*
*   BLOG 
*/
.page-template-template-blog-masonry-php header h2 a {
    color: #1E4285;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}
.page-template-template-blog-masonry-php .entry .post-content,
.single-post #content .entry .post-content {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.page-template-template-blog-masonry-php a.readmore {
    background: none;
    color: #1e4285;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

/*
*   BLOG - SINGLE
*/
body.single-post .post-meta,
body.single-post .post-meta a {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

body.single-post #sidebar .widget {
    padding: 30px 30px 5px;
    background: #c0d0e6;
}
body.single-post #sidebar .widget h3 {
    margin: 0 0 16px;
    color: #1e4285;
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    font-weight: bold;
    text-shadow: none;
    text-transform: uppercase;
}
body.single-post #sidebar .widget .textwidget {
    text-align: center;
}
body.single-post #sidebar .widget .textwidget form {
    margin: 0;
}
body.single-post #sidebar .widget .textwidget p {
    margin: 0 0 3px;
}
body.single-post #sidebar .widget .textwidget p span,
body.single-post #sidebar .widget .textwidget p input,
body.single-post #sidebar .widget .textwidget p textarea {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
body.single-post #sidebar .widget .textwidget p input.wpcf7-submit {
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    background: #1e4285;
    font-size: 16px;
    font-weight: normal;
}

/*
*   CONTACTO
*/
.page-template-template-contact-php figure img {
    width: 100%;
    height: auto;
}

.page-template-template-contact-php .entry,
.page-template-template-contact-php .wpcf7-form,
.page-template-template-contact-php #sidebar .box,
.nice-contact-form label {
    color: #7d828a;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}
.nice-contact-form input[type=submit],
.nice-contact-form input[type="submit"] {
    background: #1e4285;
}
.nice-contact-form input[type=submit]:hover,
.nice-contact-form input[type="submit"]:hover {
    background: #133472;
}
.page-template-template-contact-php #sidebar h3 {
    text-transform: none !important;
}



/*
*   MOVILES
*/

@media screen and (max-width: 1024px) {
    
    #header,
    .has-slider #header { 
        position: static;
    }
    
    #header #top #toggle-nav {
        top: 20px;
    }
    .has-slider #header #top #toggle-nav {
        top: 0;
    }
    
    .page #wrapper,
    .single #wrapper {
        margin-top: 0 !important;
    }

    #header #navigation li ul {
        display: block;
    }
    
    #top #navigation .nav li ul li a {
        padding: 6px 12px 4px;
        background: transparent;
        color: #1e4285;
    }
    #top #navigation .nav li ul li a:hover {
        background: #1e4285;
        color: #fff;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    
    #header #top .header-message {
        margin-top: 34px;
        margin-right: 10px;
    }
    
    /*
    *   HOME
    */
    .home-flexslider-wrapper {
        margin-top: 0;
    }
    .flex-direction-nav .flex-prev,
    .flex-direction-nav .flex-next {
        top: 60%;
    }
    
    #home-service-category ul.four-col-grid li {
        width: 23.5%;
    }
    #home-service-category ul.four-col-grid li:nth-child(2n+1) {
        clear: none;
    }
    #home-service-category ul.four-col-grid li:nth-child(2n) {
        margin-right: 2%;
        float: left;
    }
    .home-service-category ul {
        padding: 5px 0 20px;
    }
    .home-service-category ul li {
        margin-bottom: 0;
    }
    .home-service-category ul li .service-category-image {
        width: 100%;
        height: auto;
    }
    .home-service-category ul li .service-category-content .service-category-title {
        font-size: 14px;
    }
    
    .home-staff ul li {
        width: 31%;
        margin-right: 20px;
    }
    .home-staff ul li img {
        width: 60%;
        float: none;
    }
    .home-staff ul li .has-image {
        text-align: center;
    }
    .home-staff ul li .has-image .content {
        float: none;
        width: 80%;
        margin: 0;
    }
    
    /*
    *   SERVICIOS
    */
    section.service .filter-area {
        margin-bottom: 20px;
    }
    .service-filter-title, #filter {
        display: block;
    }
    #filter li {
        margin-bottom: 10px;
    }
    #sidebar {
        display: block;
        width: 50% !important;
    }
    
    
}

@media screen and (max-width: 800px) {

    .welcome-message h2 {
        font-size: 26px;
    }

}

@media screen and (max-width: 768px) {
    
    .home-block {
        padding: 40px 10px 25px;
    }
    
    #sidebar {
        display: block;
        width: 70% !important;
    }
    
}

@media screen and (max-width: 685px) {
    
    #home-service-category ul.four-col-grid li {
        width: 48%;
    }
    
}

@media screen and (max-width: 620px) {

    #footer .last-promotions .single-post .content {
        padding-top: 0;
    }
    
    .home-staff ul li {
        overflow: hidden;
    }
    .home-staff ul li .has-image > a {
        float: left;
        width: 25%;
        margin-right: 20px;
    }
    .home-staff ul li .has-image > a img {
        width: 100%;
    }
    .home-staff ul li .has-image .content {
        float: left;
        width: 60%;
        padding-top: 0;
    }
    
    .home-staff-widget {
        padding: 0;
    }
    .home-staff-widget .image {
        float: none;
        width: 80%;
        height: auto;
        margin: 0 auto;
    } 
    .home-staff-widget .content {
        float: none;
        width: 80%;
        padding-top: 20px;
        margin: 0 auto;
    }
    
    .page-template-template-staff-php ul#staff-list li .post-image {
        margin-right: 40px;
    }
    
}

@media screen and (max-width: 480px) {

    #header #top .header-message {
        clear: both;
        float: left;
        margin-top: 15px;
        margin-left: 15px;
    }
    
    .home-staff-widget .image {
        width: 90%;
    } 
    .home-staff-widget .content {
        width: 90%;
    }

}

@media screen and (max-width: 320px) {

    
    #header #top #logo {
        width: 231px;
        margin-top: 30px;
    }
    
    #header #top #logo #default-logo,
    #header #top #logo #retina-logo {
        width: 100%;
        height: auto;
    }
    
    /*#header #top #toggle-nav {
        top: 0;
    }*/
    
    #header #top .header-message {
        float: left;
        margin-top: 15px;
        margin-left: 15px;
        margin-right: 0;
    }
    
    #sidebar {
        display: block;
        width: 100% !important;
    }
    
    #sidebar-inverted {
        float: none;
        width: 100%;
    }
    
    #content-inverted {
        float: none;
        width: 100%;
    }
    
    /*
    *   HOME
    */
    .has-slider #header {
        padding: 10px 0 15px;
        position: static;
    }
    .home-flexslider-wrapper {
        margin-top: 0;
    }
    .flex-direction-nav .flex-prev,
    .flex-direction-nav .flex-next {
        top: 70%;
    }
    
    .welcome-message h2 {
        font-size: 18px;
	line-height: 24px;
    }
    
    .home-block {
        padding: 20px 10px;
    }
    .home-block h3 {
        text-align: center;
    }
    #home-service-category ul.four-col-grid li {
        width: 100%;
    }
    #home-service-category ul.four-col-grid li:nth-child(2n+1) {
        clear: both;
    }
    #home-service-category ul.four-col-grid li:nth-child(2n) {
        margin-right: 0;
        float: none;
    }
    
    .home-staff ul li {
        width: 100%;
        margin-right: 0;
    }
    .home-staff ul li .has-image > a {
        float: none;
        width: auto;
        margin-right: 0;
    }
    .home-staff ul li .has-image > a img {
        width: 40%;
    }
    .home-staff ul li .has-image .content {
        float: none;
        width: 100%;
        padding-top: 20px;
    }
    
    .home-staff-widget .image, 
    .home-staff-widget .content {
        width: 100%;
    }
    .home-staff-widget .content .quote .symbol {
        display: none;
    }
    .home-staff-widget .content .quote .text {
        float: none;
        width: 100%;
    }
    
    #container .home-testimonial .readmore-feedback {
        width: 100%;
        text-align: center;
    }
    
    .page-template-template-staff-php ul#staff-list li .post-image,
    .page-template-template-staff-php ul#staff-list li .post-content {
        float: none;
    }
    .page-template-template-staff-php ul#staff-list li .post-image {
        width: 80%;
        margin: 0 auto 20px;
    }
    .page-template-template-staff-php ul#staff-list li .post-content {
        width: 100%;
    }

}